<?php
namespace core\tv\logic;

use core\Logic;
use core\tv\model\VideoModel;

class StoreGroupLogic extends Logic
{

    /**
     * 获取视频选择
     *
     * @return array
     */
    public function getSelectList()
    {
        return VideoModel::getInstance()->field('id as value, video_name as name')
        ->order('sort desc')
        ->where('play_type = 0 AND video_type = 0')
        ->select();
    }

}
